<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/1/10 0010
 * Time: 上午 9:54
 */
namespace app\model;
use core\lib\model;

class message extends model{
    public $table = 'tiezi';
    public function msgList(){
        $list = $this->select($this->table,'*');
        return $list;
    }
    public function msgAdd($data){
        $add = $this->insert($this->table,$data);
        return $add;
    }
}